package com.example.ordermealservice.client;

import com.example.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-oss")
public interface OrdermealClient {
    @DeleteMapping("/oss/deleteFile/{fileName}")
    public R deleteFile(@PathVariable("fileName") String fileName);
}
